using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LED
{
    public    class LedFactory
    {
        /// <summary>
        /// 创建LED 操作对象
        /// </summary>
        /// <param name="ledType"></param>
        /// <returns></returns>
        public static ILED CreateFactory(LEDType ledType)
        {
            ILED ledDevice = null;
            if (ledType == LEDType.T4)
            {
                ledDevice = new T4();
            }

            return ledDevice;
        }
    }
}


